from django.urls import path
from server.apps.todo.views import *

urlpatterns = [
    path('', index, name='main'),
    path('create', create, name='create'),
    path('show_all', show_all, name='show_all'),
    path('show_one/<int:id>', show_one, name='show_one'),
    path('edit/<int:id>', edit, name='edit'),
    path('show_one/edit/<int:id>', edit, name='edit'),
    path('show_one/delete/<int:id>', delete, name='delete'),
    path('delete/<int:id>', delete, name='delete'),
]
